import http from '../utils/request.js'

// 首页公告
export function annOun() {
  return http({
    url: '/home/annOun',
    method: 'GET',
  })
}

// 查看公告
export function annOunSee(data) {
  return http({
    url: '/home/annOunSee',
    method: 'GET',
	data
  })
}

// 查询QQ群
export function getMainQQ(data) {
  return http({
    url: '/qqDetail/getMainQQ',
    method: 'GET',
	data
  })
}

// 积分投入榜-今日排行榜前20名
export function todayRankingList() {
  return http({
    url: '/ponintsRank/todayRankingList',
    method: 'GET'
  })
}

// 积分投入榜-昨日排行榜前20名
export function yesterdayRankingList() {
  return http({
    url: '/ponintsRank/yesterdayRankingList',
    method: 'GET'
  })
}

// 积分投入榜-投入积分
export function investCurrency(data) {
	return http({
		url: '/ponintsRank/investCurrency',
		method: 'POST',
		data: data
	});
};


// 游戏列表
export function gameSettingList() {
  return http({
    url: '/game/gameSettingList',
    method: 'GET'
  })
}


// 发送用户活跃度
export function loginTime(data) {
	return http({
		url: '/My/loginTime',
		method: 'POST',
		data: data
	});
};

// 抽奖配置查询
export function lotteryDrawList() {
  return http({
    url: '/lotteryDraw/lotteryDrawList',
    method: 'GET'
  })
}

// 抽奖次数查询
export function lotteryCount() {
  return http({
    url: '/lotteryDraw/lotteryCount',
    method: 'GET'
  })
}


// 抽奖
export function lottery(data) {
	return http({
		url: '/lotteryDraw/lottery',
		method: 'POST',
		data: data
	});
};

// 是否免广告
export function userAdvertising() {
  return http({
    url: '/My/userAdvertising',
    method: 'GET'
  })
}

// 抽奖记录
export function lotteryInfo(data) {
  return http({
    url: '/lotteryDraw/lotteryInfo',
    method: 'GET',
	data
  })
}









